All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.qd3d.camera.OrthographicCameraData

java.lang.Object
   |
   +----quicktime.util.QTByteObject
           |
           +----quicktime.qd3d.camera.CameraData
                   |
                   +----quicktime.qd3d.camera.OrthographicCameraData

public final class OrthographicCameraData
extends CameraData
implements PrimitivesLib
OrthographicCameraData contains information for the camera angle and position. The lens characteristics are set with the dimensions of a rectangular viewPort in the frame of the camera. Refer to TQ3OrthographicCameraData in QuickDraw3d


Variable Index

 o kNativeSize
This is the size (the number of bytes) that are required for this class

Constructor Index

 o OrthographicCameraData()
Creates a OrthographicCameraData object containing no data.
 o OrthographicCameraData(CameraData, float, float, float, float)
Creates a OrthographicCameraData object containing given data.

Method Index

 o clone()
Returns a copy of this class.
 o getBottom()
returns the bottom position
 o getLeft()
returns the left position
 o getRight()
returns the right position
 o getTop()
returns the top position
 o setBottom(float)
sets the bottom position
 o setLeft(float)
sets the left position
 o setRight(float)
sets the right position
 o setTop(float)
sets the top position

Variables

 o kNativeSize
 public static final int kNativeSize
This is the size (the number of bytes) that are required for this class

Constructors

 o OrthographicCameraData
 public OrthographicCameraData()
Creates a OrthographicCameraData object containing no data.

 o OrthographicCameraData
 public OrthographicCameraData(CameraData cameraData,
                               float left,
                               float top,
                               float right,
                               float bottom)
Creates a OrthographicCameraData object containing given data.

Parameters:
cameraData - The camera data.
left - The left position.
top - The top position.
right - The right position.
bottom - The bottom position.

Methods

 o getLeft
 public float getLeft()
returns the left position

 o getTop
 public float getTop()
returns the top position

 o getRight
 public float getRight()
returns the right position

 o getBottom
 public float getBottom()
returns the bottom position

 o setLeft
 public void setLeft(float left)
sets the left position

 o setTop
 public void setTop(float top)
sets the top position

 o setRight
 public void setRight(float right)
sets the right position

 o setBottom
 public void setBottom(float bottom)
sets the bottom position

 o clone
 public Object clone()
Returns a copy of this class.

Overrides:
clone in class CameraData

All Packages  Class Hierarchy  This Package  Previous  Next  Index